package com.th.supcom.pds.phamapply.client.service;

import java.util.List;

import com.google.gwt.user.client.rpc.AsyncCallback;
import com.th.supcom.pds.common.client.model.PtsPaiAdtLogModel;
import com.th.supcom.pds.phamapply.client.model.InpPhamApplyDetailModel;
import com.th.supcom.pds.phamapply.client.model.InpPhamApplyPatInfoModel;
import com.th.supcom.pds.phamapply.client.model.PrescSearchDTOModel;

/**
 * NurseReturn 异步接口.
 * 
 * 护理单元与药房关系配置.
 */
public interface NurseReturnRpcAsync
{
    void getPatInfoByBedNo (String bedNo, String nurseUnitCode, AsyncCallback <InpPhamApplyPatInfoModel> callback);

    void findPatInfoByPatientId (String patientId, AsyncCallback <List <InpPhamApplyPatInfoModel>> callback);

    void findInPatientAdtLogInfoById (Long paiVisitId, AsyncCallback <List <PtsPaiAdtLogModel>> callback);

    void findChargeItemByExample (PrescSearchDTOModel prescSearchDTOModel, AsyncCallback <List <InpPhamApplyDetailModel>> callback);

    void generateBill (List <InpPhamApplyDetailModel> inpPhamApplyDetailModels, String nurseUnit, String operator, InpPhamApplyPatInfoModel inpPhamApplyPatInfoModel,
                        AsyncCallback <Void> callback);

    /** 公司版权信息. */
    public static final String copyright = "Copyright 2014, TH Supcom Corporation";

    /** 提交路径. */
    public static final String SCC_BRANCH = "$URL$";

    /** 提交日期. */
    public static final String SCC_LAST_MODIFICATION_DATE = "$Date$";

    /** 最终修改人员. */
    public static final String SCC_LAST_MODIFIER_NAME = "$Author$";

    /** 最终版本号. */
    public static final String SCC_REVISION = "$Revision$";
}